package com.qfoud.edu.shiro.framwork.manager;

import com.qfoud.edu.shiro.framwork.auth.AuthticationInfo;
import com.qfoud.edu.shiro.framwork.pojo.Subject;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import java.lang.reflect.InvocationTargetException;

/**
 * @author xiaobobo
 * @title: AuthticationManager
 * @projectName cd-java-2303-project-parent
 * @description: 认证的管理类的接口
 * @date 2023/5/11  15:32
 */
public interface AuthticationManager {

    /**
     * 认证的方法
     * @param authticationInfo
     * @return
     */
    Subject auth(AuthticationInfo authticationInfo, ServletRequest servletRequest, ServletResponse servletResponse) throws Exception;

}
